package vip.xiaonuo.bi.core.datasource.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * sql 查询时配置
 *  通过这个去构建简单得查询sql
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class SqlQueryConig {

    /**元数据 mysql等中为库*/
   private String schema;

   /**表明条数，默认100*/
    private String table;

    /**预览条数，默认1000*/
    private Integer previewNum = 1000;

    /** 限制条数*/
    private Integer limit = 100;

    /** 限制条数*/
    private String sql;
}
